﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace server.Communication.Messages
{
    [Serializable]
    public class CreatePost :Message
    {
        public string subject { get; set; }
        public string body { get; set; }

        public CreatePost(string subject, string body)
        {
            this.subject = subject;
            this.body = body;
        }
        public override string GetType()
        {
            return "CreatePost";
        }
    }
}
